package com.jk.dao;

import com.jk.entity.Coupon;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CouponDao {

    @Select("select * from coupon where coupon_id=#{id}")
    Coupon queryById(String couponId);

    @Select("select * from coupon")
    List<Coupon> query();
}
